package com.woniu.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.core.util.PageInfo;
import com.woniu.order.dto.AddGymEnterOrderDto;
import com.woniu.order.dto.AdminInOrderSearchDto;
import com.woniu.order.form.AddGymEnterOrderForm;
import com.woniu.order.form.AdminInOrderSearchForm;
import com.woniu.order.form.OrderNumForm;
import com.woniu.order.model.TInOrder;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
public interface TInOrderService extends IService<TInOrder> {

    AddGymEnterOrderDto addGymEnterOrder(AddGymEnterOrderForm form);

    String pay(OrderNumForm orderForm) throws Exception;

    void payNotify(Map<String, String> params) throws Exception;

    PageInfo<AdminInOrderSearchDto> adminListInOrder(AdminInOrderSearchForm form) throws Exception;
}
